<?php

namespace App\Enum;

class WorkermanEnum
{
    public const REDIS_KEY_TOTAL_USERS_BY_GROUP = '%s-total-%s';// 20231113-total-backend
    public const SOURCE_WX_MP_ROOM               = 'mpwx';// 微信小程序
    public const SOURCE_OFFICIAL_WEBSITE_ROOM    = 'website';//官网
    public const SOURCE_BACKEND_ROOM    = 'backend';//官网
    public const SOURCE_WX_MP = 'eATZuahbO';
    public const SOURCE_OFFICIAL_WEBSITE = 'oetDVaUxQ';
    public const SOURCE_BACKEND = 'SzUMmdZ9A';
    public const ROOM = [
        self::SOURCE_WX_MP              =>self::SOURCE_WX_MP_ROOM,
        self::SOURCE_OFFICIAL_WEBSITE   =>self::SOURCE_OFFICIAL_WEBSITE_ROOM,
        self::SOURCE_BACKEND            =>self::SOURCE_BACKEND_ROOM
    ];

}
